OBJECTS=sqlite3.o
LIBPATH=-L/usr/lib
LIB=-lsqlite3
OUTPUT=-o
COMPIL=-c
CC=gcc
EXEFILE=app
SRC=sqlite.c
CLEAN=clean

$(EXEFILE): $(OBJECTS)
	$(CC) $^ $(OUTPUT) $@ $(LIBPATH) $(LIB)
$(OBJECTS): $(SRC)
	$(CC) $(COMPIL) $^ 

.PHONY: c
$(CLEAN):
	rm -rf *.o $(EXEFILE)
